package dao

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Name string `gorm:"type:varchar(20);not null;comment:名称"`
	Pass string `gorm:"type:varchar(40);not null;comment:密码"`
}

type Friend struct {
	gorm.Model
	Adds string `gorm:"type:varchar(20);not null;comment:添加"`
	Ifs  string `gorm:"type:varchar(20);not null;comment:是否同意"`
}
